
using System.Collections.Generic;
using Godot;
public class Global
{
    // data cache
    public static readonly Dictionary<int, RobotModel> RobotModelDic = new();
    public static readonly Dictionary<int, PilotModel> PilotModelDic = new();
    public static readonly Dictionary<int, ItemModel> ItemModelDic = new();
    public static readonly Dictionary<int, BuffModel> BuffModelDic = new();
    public static readonly Dictionary<int, SkillModel> WeaponModelDic = new();
    public static readonly Dictionary<int, SkillModel> SkillModelDic = new();

    // resource cache
    public static readonly Dictionary<int, Texture2D> RobotIconDic = new();
    public static readonly Dictionary<int, Texture2D> PilotAvatarDic = new();
    public static readonly Dictionary<int, Texture2D> RobotPortrailDic = new();
    public static readonly Dictionary<string, Texture2D> BuffIconDic = new();
    public static readonly Dictionary<string, PackedScene> WeaponAnimateDic = new();

    public static readonly int TileMapGridSize = 32;
    public static int MapBorderWidth { get; } = 2;
    public static int MapMinX { get; set; } = 2;
    public static int MapMinY { get; set; } = 2;
    public static int MapMaxX { get; set; } = 0;
    public static int MapMaxY { get; set; } = 0;
    public static readonly int MinGuardRadius = 5;

    public static readonly Dictionary<string, AudioStream> AudioStreamDic = new();
    public static readonly Dictionary<string, string> AudioPathDic = new();
}